﻿using System;

namespace BT211
{
	/// <summary>
	/// The base class for all objects on the play field.
	/// </summary>
	abstract class PlayObject : IPlayObjectView
	{
		/// <summary>Position, x (cells, east positive)</summary>
		public double Px { get; set; }
		/// <summary>Position, y (cells, north positive)</summary>
		public double Py { get; set; }
		/// <summary>Velocity, x (cells per tick, east positive)</summary>
		public double Vx { get; set; }
		/// <summary>Velocity, y (cells per tick, north positive)</summary>
		public double Vy { get; set; }
		/// <summary>Velocity, magnitude (cells per tick)</summary>
		public double V { get; set; }
		/// <summary>Velocity, angle (radians, CCW from east)</summary>
		public double Va { get; set; }
		/// <summary>Radius (cells)</summary>
		public double R { get; set; }
	}
}
